package com.iad.model.valueobject {
  
  import flash.events.EventDispatcher;
  
  [Bindable]
  [RemoteClass(alias="com.iad.entity.Page")]
  public class Page extends EventDispatcher {
  
    public var id:Number;
    public var name:String;
    public var title:String;
    public var content:String;
    public var siteId:Number;
    
    public function Page() {
    }
    
    public override function toString():String {
      var str:String;
      str = 
      "Page(" + "\n" + 
      "\tid= " +  id+ "\n" + 
      "\tname= " +  name + "\n" + 
      "\ttitle = " + title + "\n" + 
      "\tcontent = " + content + "\n" + 
      "\tsiteId= " +  siteId + "\n" + 
      ")\n\n";  
      return str;
    }
  
  }
}